<?php
include __DIR__ ."../../PHP/db.php";

$app_id = $_POST['app_id'];

$result = array();
$result['status'] = true;

$phql="UPDATE applicant SET a_status = 4
	   WHERE applicant_id={$app_id}"; 

$data =  mysql_query($phql);

if( $data )
{
	$result['status'] = "true";     
}
else
{
	$result['message'] = mysql_error();
	$result['status'] = "false"; 
}

echo json_encode($result);
die;



?>